package com.xiaoshuidi.cloud.module.bpm.api.reserveapartmentconfig;

import com.xiaoshuidi.cloud.module.bpm.api.reserveapartmentconfig.vo.CreateReserveApartmentConfigReqVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import javax.validation.Valid;

@FeignClient(name = "lease-bpm-server")
public interface ReserveApartmentConfigApi {
    @PostMapping("/create-reserve-apartment-config")
    public Boolean createReserveApartmentConfig(@RequestBody @Valid CreateReserveApartmentConfigReqVO reqVO);
}
